/*
  File:    AdvectTumor.h
  Purpose: These routines construct normal velocities and advect the tumor. 

  Contact: Paul Macklin
           pmacklin@math.uci.edu
		  http://math.uci.edu/~pmacklin
*/

#include "../Matrix.h"

Matrix BilinearExtension( Matrix& Input );
Matrix BilinearExtension( Matrix& LevelSet, Matrix& Input );
bool ConstructVelocities( void );

/*
  This routine automatically determines the correct CFL condition, advects Phi and PhiNecrotic accordingly, 
  and returns the DeltaT used.
*/  

bool CreateECMtaxisPolynomial( void );
double ECMtaxisFunction( double ecm );
bool UpdateECMtaxisCoefficient( void );
bool UpdateInteriorECMtaxisCoefficient( void );

double AdvectTumor( void );
